package com.qfedu.yanglao20admin.handicapped.param;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.qfedu.yanglao20.common.param.PageParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@ApiModel("残疾人管理分页以及查询参数")
public class HandicappedParam extends PageParam {

    @ApiModelProperty("账号id(显示页面的ID)")
    private String accountId;

    @ApiModelProperty("名称")
    private String name;

    @ApiModelProperty("身份证")
    private String idCard;

    @ApiModelProperty("电话")
    private String phone;

    @ApiModelProperty("状态0停止服务1服务中2合同到期")
    private Integer stateFlag;

    @ApiModelProperty("登记时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
}